import request from '@/utils/request'

const healthKnowledgeApi =() => {
  return {
    getHealthList: (data) => {
      return request.post('/health-knowledge/list', data)
    },
    addHealth: (data) => {
      return request.post('/health-knowledge/add', data)
    },
    deleteHealth(id) {
      return request.get('/health-knowledge/delete', { params: { id } })
    },
  }
}
export default healthKnowledgeApi()
